<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #yzm{
            width: 100px;
        }
        input{
            margin:20px 0 ;
            width: 256px;
        }
        img{
            vertical-align: -19px;
        }
    </style>
</head>
<body>
    <form action="http://localhost:3000/register" method="post">
        <input type="text" name="username" placeholder="请输入账号"><br>
        <input type="text" name="password" placeholder="请输入密码"><br>
        <input type="text" name="password2" placeholder="请再次输入密码"><br>
        <input type="text" placeholder="请输入验证码" name="yzm" id="yzm">
        <img src="http://localhost:3000/yzm" alt="验证码"><br>
        <button>注册</button>
    </form>
</body>
</html>